import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import JudgeSocialPractice from "@/views/user/JudgeSocialPractice.vue";

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  },
  {
    path: '/SRS',
    name: 'SRS',
    component: () => import('../views/user/StudentResearchSituation.vue')
  },
  {
    path: '/JRS',
    name: 'JRS',
    component: () => import('../views/user/JudgeResearchSituation.vue')
  },
  {
    path: '/SWS',
    name: 'SWS',
    component: () => import('../views/user/StudentWorkService.vue')
  },
  {
    path: '/JWS',
    name: 'JWS',
    component: () => import('../views/user/JudgeWorkService.vue')
  },
  {
    path: '/JSP',
    name: 'JSP',
    component: () => import('../views/user/JudgeSocialPractice.vue')
  },
  {
    path: '/SSP',
    name: 'SSP',
    component: () => import('../views/user/StudentSocialPractice.vue')
  },
  {
    path: '/JPS',
    name: 'JPS',
    component: () => import('../views/user/JudgePersonalStatement.vue')
  },
  {
    path: '/SPS',
    name: 'SPS',
    component: () => import('../views/user/StudentPersonalStatement.vue')
  },
  {
    path: '/JVS',
    name: 'JVS',
    component: () => import('../views/user/JudgeVolunteerService.vue')
  },
  {
    path: '/JGE',
    name: 'JGE',
    component: () => import('../views/user/JudgeGradeEvaluation.vue')
  },
  {
    path: '/SGE',
    name: 'SGE',
    component: () => import('../views/user/StudentGradeEvaluation.vue')
  },
  {
    path: '/SVS',
    name: 'SVS',
    component: () => import('../views/user/StudentVolunteerService.vue')
  },
  {
    path: '/JA',
    name: 'JA',
    component: () => import('../views/user/JudgeAssessed.vue')
  },
  {
    path: '/JNA',
    name: 'JNA',
    component: () => import('../views/user/JudgeNotAssessed.vue')
  },
  {
    path: '/SA',
    name: 'SA',
    component: () => import('../views/user/StaffAssessed.vue')
  },
  {
    path: '/SNA',
    name: 'SNA',
    component: () => import('../views/user/StaffNotAssessed.vue')
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
